package com.sl.au.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**客户发货信息
 * @author Administrator
 *
 */
@Entity
@Table(name = "sl_crm_customerSendInfo")
public class CustomerSendInfo extends Root{
	@ManyToOne
	@JoinColumn(nullable=false)
	private Customer customer;
	//（1为默认）
	private int isDefaultHost;//主机默认信息
	private int isDefaultPart;//备件默认
	
//////////////发货信息/////////////
//发货单位名称
@Column(name="cUnitName")
private String cUnitName;
//发货地址
@Column(name="cPhoneNumber")
private String cPhoneNumber;
//收货人
@Column(name="cSHName")
private String cSHName;
//收货人电话
@Column(name="cSHPhoneName")
private String cSHPhoneName;
//邮编
@Column(name="cSHYB")
private String cSHYB;
public Customer getCustomer() {
	return customer;
}
public void setCustomer(Customer customer) {
	this.customer = customer;
}
public int getIsDefaultHost() {
	return isDefaultHost;
}
public void setIsDefaultHost(int isDefaultHost) {
	this.isDefaultHost = isDefaultHost;
}
public int getIsDefaultPart() {
	return isDefaultPart;
}
public void setIsDefaultPart(int isDefaultPart) {
	this.isDefaultPart = isDefaultPart;
}
public String getcUnitName() {
	return cUnitName;
}
public void setcUnitName(String cUnitName) {
	this.cUnitName = cUnitName;
}
public String getcPhoneNumber() {
	return cPhoneNumber;
}
public void setcPhoneNumber(String cPhoneNumber) {
	this.cPhoneNumber = cPhoneNumber;
}
public String getcSHName() {
	return cSHName;
}
public void setcSHName(String cSHName) {
	this.cSHName = cSHName;
}
public String getcSHPhoneName() {
	return cSHPhoneName;
}
public void setcSHPhoneName(String cSHPhoneName) {
	this.cSHPhoneName = cSHPhoneName;
}
public String getcSHYB() {
	return cSHYB;
}
public void setcSHYB(String cSHYB) {
	this.cSHYB = cSHYB;
}




}
